<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>将⼀个 Set 类型转换成 Array 类型</title>
</head>
<body>
    
</body>
</html>
<script>
    var set = new Set(['html','css']);
    console.log(set);
    var array = [...set];
    console.log(array);
</script>